do Window.{show-at-center};

do Window.{on-close}.{connect {os::exit 0}};

do
    \ buf := sync { Reactive '' },
    { merge [
        (InputBox bind buf),
        (MainView bind { ui::Container [
            { ui::Label 'Echo:' },
            { ui::Label buf.{watch} }
        ] })
    ] };
